/**
 * Created by 李科风 on 2016-05-04.
 */
define(["core", "tools"], function (core, tools) {
    var service = {};

    service.init = function () {
        scope = core.globalData("scope");

        $.get("/console/app/getTestApp", function (data) {
            scope.apps = data;
            scope.$apply();
        });
    }

    return service;
})